GoXam for WPF v3
IsLinkValid Method (GraphModel<NodeType,NodeKey>)
Northwoods.GoXam.Model Namespace > GraphModel<NodeType,NodeKey> Class : IsLinkValid Method
a node key identifying the node data from which the link comes
a node key identify the node data to which the link goes
This predicate is true if adding a link between two nodes would result in a valid graph.
Syntax
public bool IsLinkValid( 
   NodeType fromdata,
   NodeType todata
)

Parameters

fromdata
a node key identifying the node data from which the link comes
todata
a node key identify the node data to which the link goes
Remarks
This just calls CheckLinkValid to do the actual graph structure check.
See Also

Reference

GraphModel<NodeType,NodeKey> Class
GraphModel<NodeType,NodeKey> Members
ValidCycle Property